package com.ztf.room.dao;

import com.ztf.room.bean.RoomAdmin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface AdminDao {
    @Select("select * from admin where account =#{account} and password=#{password}")
    RoomAdmin login(@Param("account") String account, @Param("password")String password);
}
